home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / math / pmcalc29.zip / PMCALC_E.HLP (.txt) < prev    next >
OS/2 Help File  |  1997-05-20  |  71KB  |  862 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4.   pmCalc 
  5.  
  6.    o  does not try to simulate a real calculator: For example, it does not have 
  7.       an "=" button. The notation of the formulas is like in a programming 
  8.       language. Nevertheless, there is a calculator-like mouse interface. 
  9.  
  10.    o  is Shareware. Without registration key, you will get an info screen at 
  11.       the beginning - there's no other limitation. New in version 2.9 are 
  12.       regression ( reg button) and new programmers functionality ( prg button). 
  13.  
  14.    o  recalculates the result after every keystroke. You have an entry field 
  15.       and a separate result field. If a formula is incomplete or erroneous, 
  16.       pmCalc will display a detailed error message instead of the result. You 
  17.       can choose between different output formats. 
  18.  
  19.    o  supports easy transfer of input and output through the clipboard. 
  20.  
  21.    o  enables calulating with variables: X in the main entryfield will be 
  22.       replaced by the content of the X entryfield. 
  23.  
  24.    o  recalculates variables like X if the result is given: for this regression 
  25.       in one dimension, press the reg button 
  26.  
  27.    o  supports scientific functions (press the fct button for an extended 
  28.       keyblock). 
  29.  
  30.    o  offers programmers functionality: hexadecimal, octal, binary and Ascii 
  31.       input, overflow simulation of integer variables (press the prg button). 
  32.  
  33.    o  remembers the last 20 inputs (last20 list) and saves formulas permanent. 
  34.  
  35.    o  supports hypertext online help. Press the help button and after that the 
  36.       button you want to have explained. You can simply press F1, too. Press 
  37.       help two times to get the help contents. 
  38.  
  39.    o  calculates with double precision floating point values, so you have 15 
  40.       correct digits. 
  41.  
  42.    o  has got a Pentium bug correction; the overflow simualtion works correct 
  43.       even with a defective Pentium II.
  44.  
  45.  
  46. ΓòÉΓòÉΓòÉ 2. Installation ΓòÉΓòÉΓòÉ
  47.  
  48.  Simply copy pmCalc.exe and pmCalc_E.hlp to your harddisk into a directory of 
  49. your choice. 
  50.  
  51. You can make a program object on your desktop using the program template in 
  52. your template folder. pmCalc_G.hlp is the german hypertext helpfile. 
  53.  
  54.  Last20.txt is a "last20 list" (history file) with sample formulas. If you 
  55. don't copy the file last20.txt, pmCalc writes a new file last20.txt. 
  56.  
  57. If you want to have pmCalc with colors, also copy colorsmp and type into the 
  58. program object settings notebook parameter field: 
  59. color:COLORSMP 
  60.  
  61. pmCalc can be started with a lot of program parameters. 
  62.  
  63. A nice idea to start pmCalc without the launchpad * 
  64.  
  65.  
  66. ΓòÉΓòÉΓòÉ 3. Important items ΓòÉΓòÉΓòÉ
  67.  
  68.   See all clear, clipboard, input, last20 list, output format. 
  69.  
  70. You see, pmCalc can have colors. 
  71.  
  72.  
  73. ΓòÉΓòÉΓòÉ 4. V, W, X and Y entryfields ΓòÉΓòÉΓòÉ
  74.  
  75.  In the V, W, X and Y field, you can enter numbers or formulas which can be 
  76. changed without changing the main entry field. For example, the formula in the 
  77. main entry field is "(X+Y)/2", and the X field is "5", the Y field is "3+4", 
  78. pmCalc is intern replacing the X and Y characters in the main entry field with 
  79. the occurences of the X and Y field in brackets: 
  80.  
  81. ((5)+(3+4))/2 
  82.  
  83. The result is 6. 
  84.  
  85. Note that there's a regression mode where you can recalculate variables like X 
  86. when the result is known. 
  87.  
  88.  
  89. ΓòÉΓòÉΓòÉ 5. Regression ΓòÉΓòÉΓòÉ
  90.  
  91.  If you have got a formula with variables X, Y, V, W and the result is given, 
  92. you can recalculate the value of a variable, e. g. 
  93.  
  94. 3*X^2 + 8*X + 3 = 206 
  95.  
  96. What's the value of X ? To get an answer, do the following: 
  97.  
  98.    o  Enter the formula without the equal character in the main entry field and 
  99.       without the number on the right side of the equal character 
  100.    o  you can, but you must not enter a value of your choice into the X field 
  101.    o  press the reg button 
  102.    o  enter 206 in the regression entry field 
  103.    o  press the X? button. 
  104.  
  105.  
  106.  pmCalc has to employ a "trial and error" strategy, but it works very fast, 
  107.  nearly without any delay. 
  108.  
  109.  With the = button near the Regression entry field, the content of the pmCalc 
  110.  result field is copied into the Regression entry field. 
  111.  
  112.  With the precision spinbutton, you can influence the regression: a precision 
  113.  of 4 will calculate the e.g. X value with 4 digits behind the dot. Because of 
  114.  round effects, it's possible that the regression doesn't hit the result 
  115.  exactly, e.g. in the pmCalc result field there's 19.9997 even in the 
  116.  regression entry field is 20. 
  117.  
  118.  It can happen that if the e.g. X field is empty, pmCalc does not find any X 
  119.  value or, if there are more than one possible X values, it hits not the result 
  120.  you are interested in. In these cases, you can enter a value in the X field 
  121.  which is near the result. For example enter X*X into the main entry field, 400 
  122.  into the regression entry field an -1 into the X field. Then pmCalc finds the 
  123.  X value -20. (There are two correct values: 20 and -20.) 
  124.  
  125.  A good start value can reduce regression calculating time. 
  126.  
  127.  
  128. ΓòÉΓòÉΓòÉ 6. Clipboard ΓòÉΓòÉΓòÉ
  129.  
  130.  subchapters: 
  131. General 
  132. Using Z and autoclip simultaneously 
  133. Export and Import of a formula 
  134. hidden pmCalc 
  135.  
  136. next chapter: 
  137. Saving formulas - the last20 list 
  138.  
  139.  
  140. ΓòÉΓòÉΓòÉ 6.1. General ΓòÉΓòÉΓòÉ
  141.  
  142.  pmCalc can be used with the Clipboard (Clipboard = Z ). 
  143. You can enter a formula like sin(Z/3) "sine of (Clipboard divided by 3)". The 
  144. clipboard may contain a number or a formula. 
  145.  
  146. When autoclip is on, pmCalc automatically writes the result into the clipboard. 
  147.  
  148.  
  149. ΓòÉΓòÉΓòÉ 6.2. Using Z and autoclip simultaneously ΓòÉΓòÉΓòÉ
  150.  
  151.  Using Z and autoclip simultaneously: Every time you copy a number or a formula 
  152. to the clipboard (from another application), pmCalc will grab it and substitute 
  153. it for every Z in its formula. Then the result will be placed into the 
  154. clipboard automatically. So you can use pmCalc in the background. 
  155.  
  156. To test the clipboard function, I recommend using the OS/2 "show clipboard" 
  157. program. * 
  158.  
  159.  
  160. ΓòÉΓòÉΓòÉ 6.3. Export and Import of a formula ΓòÉΓòÉΓòÉ
  161.  
  162.  If you want to export a formula into another application, you can copy it into 
  163. the clipboard by pressing the Z<- button next to the main entry field. For 
  164. re-using the formula, you copy it back to the clipboard and then press the Z-> 
  165. button in pmCalc. 
  166.  
  167. pmCalc can save formulas itself. 
  168.  
  169. Note that you are allowed to write comments in brackets [ ]. 
  170.  
  171. It is allowed to put several lines from an editor into the clipboard. Pushing 
  172. the Z-> button or using the Z variable, pmCalc will change every "Return" into 
  173. a "+". Remember that spaces will be ignored. 
  174.  
  175. With the button = -> Z , you can write the input and the result in the 
  176. clipboard simultaneously, for example 
  177.  
  178. 1+1 = 2.0000 
  179.  
  180.  
  181. ΓòÉΓòÉΓòÉ 6.4. hidden pmCalc ΓòÉΓòÉΓòÉ
  182.  
  183.  If your input is a simple "Z" in the main entry field and autoclip is on, you 
  184. can use pmCalc completely in the background. Copying a formula from your editor 
  185. into the clipboard will automatically return the result into the clipboard. It 
  186. can be useful to put the pmCalc-window at the bottom of your desktop, so only 
  187. the result field and the Z-field is shown and all below the result field is 
  188. outside the desktop. 
  189.  
  190.  
  191. ΓòÉΓòÉΓòÉ 7. Saving formulas - the last20 list ΓòÉΓòÉΓòÉ
  192.  
  193.  subchapters: 
  194. The Last20 List  Saving formulas  Loading formulas  Default formula 
  195.  
  196. next chapter: 
  197. Notation of the formulas 
  198.  
  199.  
  200. ΓòÉΓòÉΓòÉ 7.1. The Last20 List ΓòÉΓòÉΓòÉ
  201.  
  202.  pmCalc does remember the last 20 inputs. Every input immediately before 
  203. pressing AC will be placed in the last20 list. This means, the AC button saves 
  204. the old input and deletes the entry field. 
  205.  
  206. With the up and down buttons near the main entry field, you can reuse older 
  207. inputs. 
  208.  
  209. The current input is lost if you don't press AC , e.g. when recalling a last20 
  210. list entry. 
  211.  
  212. If you exit pmCalc, the last 20 inputs will be saved in the text file 
  213. LAST20.TXT. You can edit this file with an text editor. 
  214.  
  215. You are allowed to use your own formula files: A program parameter containing 
  216. ".TXT" or ".PMC" is a filename which is used instead of "LAST20.TXT". So you 
  217. can drop your special formulas to the pmCalc program object. Making an 
  218. association "*.PMC" enables you to start the formula file directly with 
  219. double-click. 
  220.  
  221.  
  222. ΓòÉΓòÉΓòÉ 7.2. Saving formulas ΓòÉΓòÉΓòÉ
  223.  
  224.  If the input begins with a comment, e.g. 
  225.  
  226. [simple] X + Y*2 
  227.  
  228. and you press AC , the formula will be placed in the last20 list forever. That 
  229. means, in the file LAST20.TXT can be a lot of formulas beginning with "[" and 
  230. only 20 normal inputs not beginning with "[". 
  231.  
  232. When changing a formula which is already part of the last20 list (that means, 
  233. it begins with the same comment) the old entry in the last20 list is replaced 
  234. when pressing AC . 
  235.  
  236.  
  237. ΓòÉΓòÉΓòÉ 7.3. Loading formulas ΓòÉΓòÉΓòÉ
  238.  
  239.  If you type only the leading comment of a formula which is already part of the 
  240. last20 list, the formula will be expanded automatically (!). 
  241.  
  242. To try this, simply enter 
  243.  
  244. [sq] 
  245.  
  246. for the square equation formula which is already part of the last20 list. If 
  247. there are characters (e.g. a space) behind the comment brackets, the expansion 
  248. won't work. 
  249.  
  250.  
  251. ΓòÉΓòÉΓòÉ 7.4. Default formula ΓòÉΓòÉΓòÉ
  252.  
  253.  If you enter a formula beginning with 
  254.  
  255. [default] 
  256.  
  257. (in lower case letters), the formula always appears when starting pmCalc. 
  258.  
  259. Note that you can start pmCalc with different last20 lists by using the program 
  260. parameter filename.txt or filename.pmc. With the file association *.pmc, you 
  261. can easy start different pmCalc's with different default formulas. 
  262.  
  263.  
  264. ΓòÉΓòÉΓòÉ 8. Notation of the formulas ΓòÉΓòÉΓòÉ
  265.  
  266.  subchapters: 
  267. keyboard and mousebuttons 
  268. Ignored characters 
  269. Order of operators 
  270. Notation of floating point numbers 
  271. upper and lower case letters 
  272.  
  273. next chapter: 
  274. Programmers functionality 
  275.  
  276.  
  277. ΓòÉΓòÉΓòÉ 8.1. keyboard and mousebuttons ΓòÉΓòÉΓòÉ
  278.  
  279.  You can use the mouse buttons or the keyboard by typing directly into the main 
  280. entryfield or in the V to Y entryfields. To learn the notation of pmCalc 
  281. formulas, use the mouse buttons. 
  282.  
  283. (See important items) 
  284.  
  285. pmCalc offers a useful feature to generate brackets when using the mouse for 
  286. input. If your input is 1+2 and you want to multplicate the result with 3, 
  287. simply enter 
  288.  *  *  3 . 
  289. pmCalc automatically changes the input into (1+2)*3 . 
  290. This feature works with * , / and pwr and the programmers operators. 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 8.2. Ignored characters ΓòÉΓòÉΓòÉ
  294.  
  295.  You can always use spaces in your formulas; they will be ignored, even within 
  296. a number. 
  297.  
  298. You are allowed to write comments in brackets [ ], also several times. You can 
  299. use the keyboard or the com (comment) button. 
  300.  
  301. In hexadecimal numbers, you are allowed to use ":", which will be ignored. So a 
  302. hex-number can be #h12dc:0bf7 . 
  303.  
  304.  
  305. ΓòÉΓòÉΓòÉ 8.3. Order of operators ΓòÉΓòÉΓòÉ
  306.  
  307.  The order of calculating the operators without brackets is the following: 
  308.  
  309.    o  ' ( min ) min'sec (see minutes) 
  310.    o  ^ ( pwr ) Power of 
  311.    o  programmers operators 
  312.    o  / divide, * multiplicate 
  313.    o  - minus, + plus 
  314.  
  315.  
  316.  You can change the order by using parenthesis (  ). There is no limit of 
  317.  levels. 
  318.  
  319.  
  320. ΓòÉΓòÉΓòÉ 8.4. Notation of floating point numbers ΓòÉΓòÉΓòÉ
  321.  
  322.  Floating point numbers can be written with dot or comma, like 12.34 or 12,34 . 
  323. You can use thousand-commas (american) or thousand-dots (german) like 10,000.00 
  324. or 10.000,00 . pmCalc interpretes commas and dots similar. The last dot/comma 
  325. will be interpreted, other dots/commas aren't interpreted. For example: 
  326. 1,23.4.5.6.78 is the same as  123456.78 . 
  327.  
  328.  
  329. ΓòÉΓòÉΓòÉ 8.5. upper and lower case letters ΓòÉΓòÉΓòÉ
  330.  
  331.  Note that pmCalc is case-sensitive. The name of the constant 3.1415... is Pi, 
  332. not pi, the name of the constant 2.7182... is Eul not eul (Euler constant). 
  333. Also you aren't allowed to write functions like sin() with capital letters. If 
  334. you aren't sure, use the mouse buttons to learn the notation. Hex numbers 
  335. aren't case sensitive. 
  336.  
  337.  
  338. ΓòÉΓòÉΓòÉ 9. Programmers functionality ΓòÉΓòÉΓòÉ
  339.  
  340.  Press the prg button for an extended keyblock. 
  341.  
  342. subchapters: 
  343. numerative systems 
  344. Programmers operators 
  345. Simulation of integer operations 
  346.  
  347. next chapter: 
  348. Scientific functions 
  349.  
  350.  
  351. ΓòÉΓòÉΓòÉ 9.1. numerative systems ΓòÉΓòÉΓòÉ
  352.  
  353.  For hexadecimal input, you can press the hex button or you can write $ or #h. 
  354. After that, an ordinal 32-bit-value (from 0 to to 4┬á294┬á967┬á295) is expected. 
  355. ":" is ignored. 
  356.  
  357. Other numerative systems and ASCII characters are entered with the buttons oct 
  358. , bin , ASCII or with a hash followed by the characters o for octal, b for 
  359. binary and a for ASCII. So the decimal number 100 can be written as: 
  360.  
  361. 100 
  362. $64 
  363. #h64 
  364. #h0000:0064 
  365. #o144 
  366. #b0110 0100 
  367. #ad 
  368.  
  369. Remember that you are always allowed to use spaces. You can also choose this 
  370. numerative systems in the output format. 
  371.  
  372.  
  373. ΓòÉΓòÉΓòÉ 9.2. Programmers operators ΓòÉΓòÉΓòÉ
  374.  
  375.  The Programmers window offers you new operators. In addition to + , - , / , * 
  376. , you have got the binary operators 
  377.  
  378.  and  let appear the sign & 
  379.  or | 
  380.  xor \ 
  381.  shl < (shift left) 
  382.  shr > (shift right) 
  383.  
  384.  not is a function and has got the notation not (X) 
  385.  
  386. The choice of integer variables (long/short/char) has no influence to other 
  387. operators and functions besides the shown operators above. 
  388.  
  389. If you want to understand the effect of these operators, use the binary input 
  390. and output of pmCalc. 
  391.  
  392.  
  393. ΓòÉΓòÉΓòÉ 9.3. Simulation of integer operations ΓòÉΓòÉΓòÉ
  394.  
  395.  pmCalc enables you calculating with specific integer variables. You can choose 
  396. between 3 * 2 settings: variables of 4, 2 and 1 byte and signed, unsigned. E.g. 
  397. with the calculation of not(1) you will get six different results, dependent on 
  398. the variables you choose. 
  399.  
  400. You can simulate overflow of integer variables. If an overflow occurs, on the 
  401. programmers window will show the text "overflow!" and in the pmCalc result 
  402. field you will see the "wrong" result. 
  403.  
  404. Example: Use "unsigned char" and calculate 255+3. Because a char has only 256 
  405. different values, you will get an overflow and the result is 2. 
  406.  
  407. For Pascal programmers: The expressions long, short, char are the C synonyms 
  408. for LONGINT, INTEGER, BYTE. "Unsigned short" is a WORD. In Pascal, LONGINT and 
  409. INTEGER are signed, BYTE is unsigned. 
  410.  
  411.  
  412. ΓòÉΓòÉΓòÉ 10. Scientific functions ΓòÉΓòÉΓòÉ
  413.  
  414.  pmCalc supports scientific functions (press the fct-button for an extended 
  415. keyblock). 
  416.  
  417. subchapters: 
  418. Trigonometric Functions  Logarithmic functions  other functions 
  419.  
  420. next chapter: 
  421. Output format 
  422.  
  423.  
  424. ΓòÉΓòÉΓòÉ 10.1. Trigonometric Functions ΓòÉΓòÉΓòÉ
  425.  
  426. sin(x)   sine of x
  427. cos(x)   cosine of x
  428. tan(x)   tangent of x
  429. asin(x)  arcus sine: inverse function of sin(x)
  430.      asin(sin(x)) = x
  431. acos(x)  arcus cosine: inverse function of cos(x)
  432. atan(x)  arcus tangent: inverse function of tan(x)
  433.  
  434. Pi     the constant Pi (3,1415...)
  435.  
  436. With the checkbutton degree you can choose between degree and radial input. If 
  437. degree is activated, trigonometric functions are running with degrees. For 
  438. example, sin(90) is 1.0000. If you turn degree off, you can enter radial input. 
  439. The same input would be now sin(Pi/2). 
  440.  
  441.  
  442.  
  443.                             degree and radial values
  444.  
  445.  
  446.  
  447.  
  448.                        Figure of Sine, Cosine and Tangent
  449.  
  450.  
  451.  
  452.  
  453. Sine and Cosine curve
  454.  
  455.  
  456. ΓòÉΓòÉΓòÉ 10.2. Logarithmic functions ΓòÉΓòÉΓòÉ
  457.  
  458. ln(x)   natural logarithm of x
  459. log(x)   logarithm of x, based on 10
  460.  
  461. Eul    the euler constant (2.71828...)
  462.  
  463. Eul^x is the inverse function of ln(x). 
  464. 10^x is the inverse function of log(x). 
  465.  
  466.  
  467. ΓòÉΓòÉΓòÉ 10.3. other functions ΓòÉΓòÉΓòÉ
  468.  
  469. frac(x)  fraction:  frac(67.89) = 0.89
  470. int(x)   integer:  int (67.89) = 67.00
  471. abs(x)   absolute:  abs(12) = 12  abs(-12) = 12
  472.  
  473. fac(x)   x!  factorial of x
  474.      fac(4) = 1*2*3*4 = 24
  475.      floating numbers are converted by int(abs(x))
  476.  
  477. sqr(x)   square of x, equal to x^2
  478. sqrt(x)  square root of x, equal to x^(1/2)
  479.  
  480.  
  481. ΓòÉΓòÉΓòÉ 11. Output format ΓòÉΓòÉΓòÉ
  482.  
  483.  subchapters: 
  484. General  precision  fraction  min sec 
  485.  
  486. next chapter: 
  487. special features 
  488.  
  489.  
  490. ΓòÉΓòÉΓòÉ 11.1. General ΓòÉΓòÉΓòÉ
  491.  
  492.  You can choose how the result will be shown (output format). Enter a big 
  493. number and try the options in the drop down field. 
  494.  
  495.  
  496. ΓòÉΓòÉΓòÉ 11.2. precision ΓòÉΓòÉΓòÉ
  497.  
  498.  With precision, you can enter the number of digits behind the dot. Note that 
  499. "precision 0" changes the result 2,4 to 2. If you press X<- to copy the result 
  500. into the X field, "2" with the value 2,000 is copied and not 2,4. 
  501.  
  502.  
  503. ΓòÉΓòÉΓòÉ 11.3. fraction ΓòÉΓòÉΓòÉ
  504.  
  505.  With the output format "fraction", pmCalc converts a floating point number 
  506. into a fraction. For example type 2.35888888 and you will get 2123/900. 
  507. Sometimes, this can take half a second because pmCalc has to employ a "trial 
  508. and error" strategy. 
  509.  
  510. Now enter a random digit like 2,36428754732 and change the precision. A higher 
  511. precision will force a small delay and a very high precision will generate an 
  512. error "correct fraction not found". 
  513.  
  514.  
  515. ΓòÉΓòÉΓòÉ 11.4. min sec ΓòÉΓòÉΓòÉ
  516.  
  517.  /60 hour min sec divides the result by 60. For example 121 will be shown as 2 
  518. h 1 min . Choosing result min'sec together with the "min" button, you can 
  519. simply calculate time: 18'21 - 14'43 = 3'38 . You can make this settings as 
  520. default by using program parameters. 
  521.  
  522.  
  523. ΓòÉΓòÉΓòÉ 12. special features ΓòÉΓòÉΓòÉ
  524.  
  525.  special features 
  526.  
  527. subchapters: 
  528. Minutes  Percent button  Pentium bug  Changing colors  special buttons 
  529.  
  530. next chapter: 
  531. program parameters 
  532.  
  533.  
  534. ΓòÉΓòÉΓòÉ 12.1. Minutes ΓòÉΓòÉΓòÉ
  535.  
  536.  You can enter hours, minutes and seconds: 2'30"45. ' and " are interpreted 
  537. similar, so 2'30'45 is also allowed. 
  538. It's calculated: 
  539.  
  540. h + min/60 + sec/3600 
  541.  
  542.  
  543. ΓòÉΓòÉΓòÉ 12.2. Percent button ΓòÉΓòÉΓòÉ
  544.  
  545.  The percent button always relates to the last operator: 
  546.  
  547.  1000+25% = 1250 
  548.  1000-25% =  750 
  549.  1000*25% =  250 
  550.  1000/25% = 4000 
  551.  
  552. You are allowed to use parenthesis (  ) and the percent button, also variables 
  553. like X are allowed. 
  554.  
  555.  1000+(12+13)% 
  556.  1000+X% 
  557.  
  558.  
  559. ΓòÉΓòÉΓòÉ 12.3. Pentium bug ΓòÉΓòÉΓòÉ
  560.  
  561.  pmCalc has an automatic Pentium bug correction. When you have a defective 
  562. Pentium and enter a division where defective Pentiums don't find the correct 
  563. result, you will get the correct result and hear a beep. For example 
  564. 5505001/294911 , the correct result is 18,66665197 ; the wrong result would be 
  565. 18,66600093 . 
  566.  
  567. Also the Pentium II processor has got a bug: Sometimes the processor doesn't 
  568. give a correct overflow warning if a big number doesn't fit a smaller variable 
  569. (see programmers functions). Because pmCalc has got a different strategy 
  570. (pmCalc compares the content of the smaller variable with the old double 
  571. value), overflow simualtion works correct even with a defective Pentium II. 
  572.  
  573.  
  574. ΓòÉΓòÉΓòÉ 12.4. Changing colors ΓòÉΓòÉΓòÉ
  575.  
  576.  If you have nothing to do (e. g. making boring phone calls), you can drag and 
  577. drop OS/2 system colors to the pmCalc buttons and entryfields, see color 
  578. sample. To change the color of the font instead of the button, press Ctrl while 
  579. dropping. To store the colors in a file, you have to enter a program parameter 
  580. in the pmCalc program object settings notebook parameter field: 
  581.  
  582. color:filename 
  583.  
  584. As default, the file has to be placed in the directory where PMCALC.EXE ist 
  585. located. The file format is binary, so you can't edit the file. The file 
  586. COLORSMP is a sample color file. 
  587.  
  588. If you have spent a lot of time in changing colors, make a copy of your color 
  589. file. Sometimes pmCalc corrupts the color file. * 
  590.  
  591. If you think your colors are very nice, you can send the file to me by email. 
  592.  
  593.  
  594. ΓòÉΓòÉΓòÉ 12.5. special buttons ΓòÉΓòÉΓòÉ
  595.  
  596.  AC all clear. Clears the main, X and Y entryfields, saves the old input in the 
  597. last20 list 
  598.  
  599.  EXP exponent. 1.0e3 means 1.0 * 10^3 = 1000 
  600.  
  601.  pwr means x power of y  (x^y) 
  602. sample: 2^4 = 2*2*2*2 = 16 
  603.  
  604.  1/ 1/(x): reciprocal value of x 
  605.  
  606.  undo restores the last input which was not changed for 2,5 seconds. 
  607.  
  608.  
  609. ΓòÉΓòÉΓòÉ 13. program parameters ΓòÉΓòÉΓòÉ
  610.  
  611.  Program parameters can be entered in the "parameter" field of the pmCalc 
  612. program object settings notebook. When starting pmCalc from the commandline, 
  613. you can simply enter parameters behind "pmcalc". Note that most entries are 
  614. case-sensitive. 
  615.  
  616. A number specifies the output precision. 
  617.  
  618. A double-quoted string specifies the output format. It has to be exactly one of 
  619. the strings available in the output format field. 
  620.  
  621. input:sin(X)*2 starts pmCalc with the formula "sin(X)*2" in the main entry 
  622. field. Note that you have to use quotes if you have got spaces in your formula, 
  623. e.g. "input:sin(X) * 2" . You can also choose a default entry by using the 
  624. default formula. 
  625.  
  626. autoclip makes the autoclip checkbox on when starting pmCalc. 
  627.  
  628. radial turns the "degree" checkbox off when starting pmCalc. 
  629.  
  630. iconized starts pmCalc iconized. Clicking into the "pmCalc" entry of the 
  631. tasklist shows pmCalc. 
  632.  
  633. Filename.txt or Filename.pmc uses a specific file for the Last20 list instead 
  634. of the default LAST20.TXT file. 
  635.  
  636. color:filename is loading and saving position and button colors in the file 
  637. "filename". 
  638.  
  639. Examples: 
  640.  
  641. "scientific (exp)" 10 
  642.  
  643. 2 "thousand-comma" 
  644.  
  645. input:Z autoclip iconized 
  646. starts pmCalc to use in the background. 
  647.  
  648.  
  649. ΓòÉΓòÉΓòÉ 14. About pmCalc ΓòÉΓòÉΓòÉ
  650.  
  651.  subchapters: 
  652. Shareware 
  653. bugs and improvements 
  654. Disclaimer 
  655. Contacting the author 
  656. Another pmCalc program 
  657. other programs 
  658. About this hypertext 
  659.  
  660.  
  661. ΓòÉΓòÉΓòÉ 14.1. Shareware ΓòÉΓòÉΓòÉ
  662.  
  663.  This program is Shareware. If you register pmCalc, you will get a registration 
  664. code you have to enter in the parameter field of your pmCalc program object. A 
  665. new pmCalc.exe file is not necessary. 
  666.  
  667. The registration fee is 30 Dollars,  (50 Deutsche Mark) . 
  668.  
  669. When ordering more than one licenses, you will get a 30% discount for every 
  670. additional license. 
  671.  
  672. You can register this software with Compuserve Software registration. Go SWREG 
  673. . The Registration ID is 10704 , the registration fee 30$ . 
  674.  
  675. If you don't have Compuserve, perhaps a friend can do this job for you. In this 
  676. case, send an email to me. (Your name will be part of the registration code.) 
  677.  
  678. It's a shame in the age of information superhighways, but the simplest way to 
  679. send money - besides Compuserve SWREG - is to put banknotes into an envelope! 
  680. If you would send foreign currency like Dollar to my bank account, I would have 
  681. to pay 15 DM (10$) changing fee! Do not send cheques in foreign currencies, too 
  682. ! Eurocheques in Deutsche Mark are okay. If you can send Deutsche Mark (for 
  683. example you live in Germany), my banking account Number is: Dresdner Bank 
  684. Ottobrunn (Germany), Bank Code 700 800 00, Nr. 075 64 62 400. 
  685.  
  686.  
  687. ΓòÉΓòÉΓòÉ 14.2. bugs and improvements ΓòÉΓòÉΓòÉ
  688.  
  689.  Why not a major release 3.0? 
  690.  
  691. The new regression functionality is a very sophisticated feature which needs 
  692. your feedback! I assume there are quite simple formulas where pmCalc does not 
  693. find the correct variable value. Also it's possible that the new programmers 
  694. window can be improved. Please contact me if you have got ideas or bugreports. 
  695.  
  696. The OS/2 3.0 version will be shipped together with a win32 version. Take a look 
  697. at my homepage for actual news. 
  698.  
  699. What's new in pmCalc 2.9 
  700.  
  701.    o  Regression: calculating X if the result is given 
  702.    o  new Programmers functionality: overflow simulation of integer variables, 
  703.       binary operators. 
  704.  
  705.  
  706.  What's new in pmCalc 2.0 
  707.  
  708.    o  several bugfixes 
  709.    o  binary, octal, ASCII input and output 
  710.    o  percent button 
  711.    o  fraction output 
  712.    o  last20 list, easy save and restore formulas 
  713.    o  saving colors and window position 
  714.    o  increased number of variable entryfields 
  715.    o  more detailed docu, see graphics in trigonometric functions and important 
  716.       items 
  717.    o  new buttons for "home" and "end" of the cursor in the main entry field, 
  718.       button for copying result into main entry field 
  719.    o  several new program parameters 
  720.    o  several minor improvements. 
  721.  
  722.  
  723.  Known bugs: 
  724.  The iconized window won't show the pmCalc-Icon. 
  725.  The output format - drop-down box and the precision entryfield does not 
  726.  remember colors. (Perhaps a bug in OS/2 Warp? I have no fixpacks.) 
  727.  Sometimes pmCalc corrupts the color file. (I haven't got any idea what's the 
  728.  reason.) 
  729.  
  730.  Improvements and fixed bugs 2.0 to 2.9: 
  731.  
  732.    o  fixed bug: -min'sec forces an incorrect result 
  733.    o  Saving X, Y, V, W values when saving formulas. 
  734.  
  735.  
  736.  Improvements and fixed bugs 0.90 to 1.00: 
  737.  
  738.    o  tan() und atan() are OK now 
  739.    o  numeric overflow has got better error handling 
  740.    o  output result "normal (dot)" and "normal (comma)" 
  741.    o  comments in brackets [ ] allowed 
  742.    o  hypertext help. 
  743.  
  744.  
  745.  Of course, I can't test all possible formulas with pmCalc. It is possible that 
  746.  pmCalc calculates wrong results under certain circumstances. I would be very 
  747.  interested in knowing such bugs. Please write a letter if you find such a bug. 
  748.  
  749.  
  750. ΓòÉΓòÉΓòÉ 14.3. Disclaimer ΓòÉΓòÉΓòÉ
  751.  
  752.  pmCalc is provided as is and comes with no warranty of any kind, either 
  753. expressed or implied. In no event will the author be liable for any damages 
  754. resulting from the use of this software. 
  755.  
  756.  
  757. ΓòÉΓòÉΓòÉ 14.4. Contacting the author ΓòÉΓòÉΓòÉ
  758.  
  759. Press image for information about my person. 
  760.  
  761. My email address is: 
  762.  
  763. from Compuserve: 100661,626 
  764. from Internet: 100661.626@COMPUSERVE.COM 
  765.  
  766. My homepage is: 
  767.  
  768. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  769.  
  770. Here you will get newest information about my programs. 
  771.  
  772. My postal address is: 
  773.  
  774. Dr. Martin Vieregg 
  775. Hubertusstr. 26 
  776. D-85521 Ottobrunn 
  777. Germany 
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ 14.5. Another pmCalc program ΓòÉΓòÉΓòÉ
  781.  
  782.  Please notice that a second "PMCALC" exists. PMCALC.ZIP for OS/2 is an IBM 
  783. employee written software, Tim Baldwin, U.K. * Tim Baldwin's PMCALC imitates a 
  784. real pocket calculator. To distinguish in archives, this calculator is always 
  785. shipped with the version number in the zip file name, Baldwin's is not. 
  786.  
  787.  
  788. ΓòÉΓòÉΓòÉ 14.6. other programs ΓòÉΓòÉΓòÉ
  789.  
  790.  Here is the list of all other programs in english language I've programmed. 
  791. It's all freeware. 
  792.  
  793. TINYALRM.ZIP TinyAlarm 2.1, a simple countdown with a slider from 1 to 60, an 
  794. alarm by entering alarm time and a chime. System shutdown. 
  795.  
  796. ZIPSHELL.ZIP Simple Zipshell, a handful tiny batchfiles for handling ZIP- and 
  797. ARJ-files with the WPS. 
  798.  
  799. CD_SHORT.ZIP cd-short 2.0, instead of whole directory names you enter only 
  800. substrings. Searching through several drives and opening WPS folders. 
  801.  
  802. CLEAR10E.ZIP Clear 1.0 Creating file lists for deleting and backup. Works 
  803. together with Info-Zip. 
  804.  
  805. HMAKEO30.ZIP (OS/2) HMAKEW30.ZIP (Win32) HyperMake 3.0 HTML and IPF builder. 
  806. Your input is a more simple and intelligent ASCII format. Automatic linking, 
  807. window arrangement, helptables, footnotes, tables and other features. Shareware 
  808. if source file > 20 kB. See hypertext 
  809.  
  810. You will find them in the internet: visit my Homepage 
  811.  
  812. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  813.  
  814.  
  815. ΓòÉΓòÉΓòÉ 14.7. About this hypertext ΓòÉΓòÉΓòÉ
  816.  
  817.  I have created this hypertext by using my HyperMake hypertext tool. It creates 
  818. HTML and IPF files from a more simple and intelligent ASCII format. If a phrase 
  819. is marked with an "index char", it is placed in the index and all other 
  820. occurrences in the hypertext will get a link automatically. HyperMake also 
  821. creates Helptables, and for line drawing, footnotes, window arrangement (and so 
  822. on) there are short commands. The links at the end of some windows 
  823. "subchapters... next chapter..." are created automatically. HyperMake is 
  824. freeware for source files < 20 kB. 
  825.  
  826. Visit my homepage for more information about HyperMake. 
  827.  
  828. http://ourworld.compuserve.com/homepages/vrb/VIEREGG.HTM 
  829.  
  830. end of hypertext 
  831.  
  832.  
  833. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  834.  
  835. Open the settings notebook of the desktop, open the "menu"-page and throw your 
  836. pmcalc program object into the second yellow text-window. Now you have a new 
  837. menu item in your standard-context-menu like "shutdown": "pmCalc". 
  838.  
  839.  
  840. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  841.  
  842. You'll find it in the system / productivity folder 
  843.  
  844.  
  845. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  846.  
  847. It happened one time to me. Sorry, but I haven't got any idea what's the 
  848. reason. 
  849.  
  850.  
  851. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  852.  
  853. Martin Vieregg, 31. I've studied economics. My main job is working in my own 
  854. consulting company. Our special subject is public transport, especially 
  855. railways. The title of my doctoral (PhD) thesis was "increasing efficiency of 
  856. railway long-distance passenger traffic" (only german language, just for fun 
  857. also in IBM INF format). 
  858.  
  859.  
  860. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  861.  
  862. We had both shipped our pmCalc programs in March 95